package com.wswy.wzcx.widget.home;

import android.text.InputType;

/**
 * Created by wangduheng26 on 2018/3/16.
 * wangduheng26@gmail.com
 */

public class TipMap {
    String topTip;
    int showHelp;
    int type;

    private TipMap(Builder builder) {
        topTip = builder.topTip;
        showHelp = builder.showHelp;
        if (builder.type == 0)
            builder.type = ContentType.TYPE_NORMAL;
        type = builder.type;

    }

    public static final class Builder {
        private String topTip;
        private int showHelp;
        private int type;
        public Builder() {
        }

        public Builder topTip(String val) {
            topTip = val;
            return this;
        }



        public Builder showHelp(int val) {
            showHelp = val;
            return this;
        }

        public Builder type(int val) {
            type = val;
            return this;
        }




        public TipMap build() {
            return new TipMap(this);
        }
    }

    public interface ContentType {
        int TYPE_NORMAL = 1, TYPE_CURRENCY = 2, TYPE_DATE = 3, TYPE_ADDRESS = 4,TYPE_CHOOSE_PHOTO = 5,TYPE_LABEL = 6;
    }
}
